package vectors;

import java.io.Serializable;

public interface Vector extends Cloneable, Iterable<Double>, Serializable {
	
	double getElement(int index);

	void setElement(int index, double value);

	int getLength();

	void fillFromAnArray(double[] source);

	void fillFromAnotherVector(Vector source);

	void multiplyByNumber(double number);

	void add(Vector v);

	void compare(Vector v);
}
